<template>
  <div class="about">
    <div class="about_uesr_box">
      <div class="about_uesrtx">
        <img src="../../public/微信图片_20191123163139.jpg" alt="" width="100%">
      </div>
      <div class="about_uesr_dl">
        <p @click="register">立即登录</p>
        <p>积分：0</p>
      </div>
    </div>
    <!-- 通知区域 -->
    <van-notice-bar left-icon="volume-o" text="在代码阅读过程中人们说脏话的频率是衡量代码质量的唯一标准。" background="#fff"></van-notice-bar>
    <!-- 订单 -->
    <div class="about_dd">
      <div>
        <van-icon name="fire-o" />
      </div>
      <div>我的订单</div>
      <div>
        <van-icon name="arrow" />
      </div>
    </div>
    <!-- 拆分出去 -->
    <div class="icon_box">
      <Icon fontsize=0.2 icon="iconfont icon-daifukuan" title="待付款"></Icon>
      <Icon fontsize=0.2 icon="iconfont icon-daifahuo" title="待付款"></Icon>
      <Icon fontsize=0.2 icon="iconfont icon-yifahuo" title="待付款"></Icon>
      <Icon fontsize=0.2 icon="iconfont icon-daipingjia" title="待付款"></Icon>
    </div>
    <!--  -->
    <div class="icon_box1">
      <Icon icon="iconfont icon-wodekanjia" title="我的余额"></Icon>
      <Icon icon="iconfont icon-wodedizhi" title="我的砍价"></Icon>
      <Icon icon="iconfont icon-wodeyue" title="我的李卷"></Icon>
      <Icon icon="iconfont icon-wodejuanbao" title="我的收藏"></Icon>
      <Icon icon="iconfont icon-kefu" title="我的地址"></Icon>
      <Icon icon="iconfont icon-wodeshoucang-copy" title="联系客服"></Icon>
    </div>
    <div class="icon_footer">The work of liu tao</div>
  </div>
</template>
<script>
import Icon from "../components/icon/Icon";
export default {
  components: {
    Icon
  },
  methods: {
    register(){
      this.$router.push({
        path:"/login"
      })
    }
  },
};
</script>
<style  scoped>
.about {
  background: #f5f5f5;
}
.about_uesr_box {
  background: #c1b18f;
  width: 100%;
  height: 3rem;
  display: flex;
  position: relative;
}
.about_uesrtx {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: white;
  position: absolute;
  top: 0.7rem;
  left: 0.3rem;
}
.about_uesr_dl {
  width: 2.5rem;
  height: 1.5rem;
  /* border: 1px solid red; */
  position: absolute;
  top: 0.7rem;
  left: 2rem;
}
.about_uesr_dl > p:nth-child(1) {
  font-weight: 500;
  color: white;
  font-size: 0.42rem;
  margin-left: 0.1rem;
}
.about_uesr_dl > p:nth-child(2) {
  margin-top: 0.1rem;
  width: 1.8rem;
  height: 0.32rem;
  padding: 0.2rem;
  background: #b3a078;
  font-size: 0.3rem;
}
/deep/ .van-notice-bar__content {
  font-size: 0.3rem;
}
.about_dd {
  width: 100%;
  margin: 0 auto;
  background: white;
  display: flex;
  height: 1rem;
  align-items: center;
  border-bottom: 1px solid #d8d8d8;
  justify-content: space-between;
  margin-top: 0.2rem;
}
.about_dd > div:nth-child(1) {
  margin-left: 0.4rem;
}
.about_dd > div:nth-child(3) {
  margin-right: 0.4rem;
}
.about_dd > div:nth-child(2) {
  width: 70%;
  font-size: 0.32rem;
  text-align: left;
}
.icon_box {
  width: 100%;
  height: 1.3rem;
  /* border: 1px solid red; */
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.icon_box1 {
  width: 100%;
  height: 2.8rem;
  margin-top: 0.2rem;
  padding-top: 0.2rem;
  /* border: 1px solid red; */
  background: white;
  display: flex;
  /* align-items: center; */
  flex-wrap: wrap;
  justify-content: space-around;
  flex-wrap: wrap;
}
.icon_box1>div{
  width: 33%;
}
.icon_footer{
  background: #f5f5f5;
  text-align: center;
  color: rgb(202, 197, 197);
}
</style>